// autotest.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include "Manage.h"

int _tmain(int argc, _TCHAR* argv[])
{
	Manage& manager = Manage::getInstance();
	if (!manager.prepare())
	{
		ERR_PRINTF("prepare error!\r\n");

		getchar();
		return 1;
	}

	bool isSeccess =  manager.run(NULL);
	if (!isSeccess)
	{
		ERR_PRINTF("error!\r\n");
	}
	else
	{
		MSG_PRINTF("Sucessful!!!\r\n");
	}


	manager.unPrepare();

	MSG_PRINTF("input Enter to exit.");
	getchar();
	return 0;
}

